<?php
/**
 * Create by PhpStorm
 * User: lijia
 * Data: 2020/8/21
 * Time: 10:27
 */

namespace app\api\model;


use app\home\model\BaseModel;

class Category extends BaseModel
{
    /**
     * 自动生成写入时间
     * @var bool
     */
    protected $autoWriteTimestamp = true;

    /**
     * 报错信息
     * @var
     */
    protected static $error;

    protected static function setErrors($errorMsg){
        self::$error=$errorMsg;
    }

    protected static function getErrors(){
        return self::$error;
    }
}